<?php if (!defined('THINK_PATH')) exit();?>                                <!-- 弹出框 -->
								<div id="table-alter" class="modal fade" tabindex="-1" aria-hidden="true" style="display: none;">
									<div class="modal-dialog">
										<div class="modal-content">
											<div class="modal-header no-padding">
												<div class="table-header">
													<button type="button" class="close" data-dismiss="modal" aria-hidden="true">
														<span class="white">×</span>
													</button>
													角色修改
												</div>
											</div>

											<div class="panel-body">
											
											<form class="form-horizontal" method="get" action="role_update_do"> 
												
<div class="form-group">
<label for="roleName" class="col-sm-3 control-label"><i class="light-red icon-asterisk" ></i>角色名</label>
<div class="col-sm-4">
<input type="text" class="form-control" name="rname" id="uroleName" placeholder="角色名">              
</div>
</div>   
<div class="form-group">
<label for="roleInfo" class="col-sm-3 control-label">角色描述</label>
<div class="col-sm-6">
<input type="text" class="form-control" name="rinfo" id="uroleInfo" placeholder="角色描述">              
</div>
</div>  			
<div class="form-group" >
<label class="col-sm-3 control-label"><i class="light-red icon-asterisk" ></i>权限</label>
	<div class="control-group col-sm-6" style="max-height:400px;overflow-y:auto;" >
	<?php if(is_array($FGlist)): $i = 0; $__LIST__ = $FGlist;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?><div class="checkbox">
			<label>
			<h4>
				<span class="lbl"> <?php echo ($vo["fname"]); ?></span>
			</h4>
			</label>
		</div>
		
		<?php if(is_array($vo["subFG"])): $i = 0; $__LIST__ = $vo["subFG"];if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$ko): $mod = ($i % 2 );++$i;?><div class="checkbox">
				<div class="col-sm-1"></div>
				<label>
				<h5>
					<input type="checkbox" class="ace" name="parOAchk" forcheckboxgroup="group_sel<?php echo ($ko["id"]); ?>">
					<span class="lbl"> <?php echo ($ko["fname"]); ?></span>
				</h5>
				</label>
			</div>
			
			<?php if(is_array($ko["subOA"])): $w = 0; $__LIST__ = $ko["subOA"];if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$wo): $mod = ($w % 2 );++$w;?><div class="checkbox">
					<div class="col-sm-3"></div>
					<label name="usubOA">
					<h6 >
						<input name="oper_auth[]" value="<?php echo ($wo["id"]); ?>" id="uoper_auth" type="checkbox" class="ace" group="group_sel<?php echo ($ko["id"]); ?>" >
						<span class="lbl"> <?php echo ($wo["oname"]); ?></span>
					</h6>
					</label>
				</div><?php endforeach; endif; else: echo "" ;endif; endforeach; endif; else: echo "" ;endif; endforeach; endif; else: echo "" ;endif; ?>
	</div>            
</div> 
<input type="hidden" class="form-control" name="id" id="uroleId" value=""> 

												<div class="form-group">
												<div class="col-sm-offset-3 col-sm-10">
													<button type="submit" class="btn btn-success">
														<i class="icon-mail-forward"></i>
														提交
													</button>
													
													<button class="btn btn-danger" data-dismiss="modal">
														<i class="icon-remove"></i>
														放弃
													</button>													
												</div>
												</div>
											</form> 
											
											</div>
										</div><!-- /.modal-content -->
									</div><!-- /.modal-dialog -->
								</div>